@import './reset';

.container {
    // 主题颜色
    $themeColor: #1b2a65;
    $themeColor-Opa: #1b2a653d;

    // 居中盒子
    %boxCenter {
        display: flex;
        flex-direction: column;
        align-items: center;
        // background-color: greenyellow;
    }

    header {
        background-color: #fff;
        @extend %boxCenter;

        @import './nav';

        // 横幅大图
        .banner {
            max-width: 100%;
            @extend %boxCenter;
            position: relative;

            img {
                width: 100%;
                display: block;
            }

            .imgTitle {
                width: 1200px;
                position: absolute;
                bottom: 260px;
                color: #fffefe;

                .title {
                    // border: 1px solid red;
                    display: inline-block;

                    p:first-child {
                        font-size: 46px;
                        text-align: right;
                    }

                    p:last-child {
                        font-size: 26px;
                    }
                }
            }
        }
    }

    main {

        section{
            &>div{
                width: 1200px;
            }
            @extend %boxCenter;

            .content_1 {
                margin: 68px 0 50px;
                h1{
                    text-align: center;
                    font-size: 62px;
                    color: #333333;
                    font-weight: 400;
                }
                div{
                    display: flex;
                    justify-content: space-around;
                    align-items: center;
                    span{
                        color: $themeColor;
                        font-size: 26px;
                        opacity: 0.5;
                    }
                    hr{
                        width: 37%;
                        height: 2px;
                        background-color: $themeColor-Opa;
                        border: none;
                    }
                }
            }

            .content_2{
                ul{
                    display: flex;
                    justify-content: space-between;
                    flex-wrap: wrap;
                    li{
                        width: 535px;
                        height: 135px;
                        background-color: #e8e8e8;
                        margin-bottom: 80px;
                        display: flex;

                        .boxLeft{
                            width: 235px;
                            height: 100%;
                            background-color: $themeColor;
                            transform: translate(-30px,-20px);
                            color: #fff;
                            padding: 20px 13px 0;
                            box-sizing: border-box;
                            h3{
                                text-align: center;
                                font-size: 27px;
                                font-weight: 400;
                            }
                            hr{
                                margin: 15px 0;
                                color: #999999;
                                opacity: 0.53;
                            }
                            div{
                                display: flex;
                                justify-content: space-around;
                            }
                        }

                        .boxRight{
                            width: calc(100% - 235px);
                            height: 100%;
                            // border: 1px solid red;
                            display: flex;
                            align-items: center;
                            padding: 0 20px 0 10px;
                            p{
                                color: #666666;
                                font-size: 14px;
                                line-height: 22px;
                            }
                        }
                    }
                }
            }
        }
    }
    @import './footer';
}